/**
 * <strong>Title : SpotInspection.java<br>
 * </strong> <strong>Package : cn.b.sky.mes.em.model<br>
 * </strong> <strong>Description : </strong>@类注释说明写在此处@<br>
 * <strong>Create on : 2015年11月16日 上午9:32:12<br>
 * </strong>
 * <p>
 * @author dapeng.li<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 *          <strong>修改历史:</strong><br>
 *          修改人 | 修改日期 | 修改描述<br>
 *          -------------------------------------------<br>
 * <br>
 * <br>
 */
package cn.b.sky.mes.em.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.DateTimeFormat.ISO;

import cn.b.sky.common.model.ImeCommon;

/**
 * <strong>Title : SpotInspection.java<br></strong>
 * <strong>Package : cn.b.sky.mes.em.model<br></strong>
 * <strong>Description : </strong>设备点检类<br> 
 * <strong>Create on : 2015年11月16日 上午9:32:12<br></strong>
 * <p>
 * @author dapeng.li<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class SpotInspection extends ImeCommon {
  /**
   * 唯一id
   */
  private Long id;

  /**
   * 设备编号
   */
  private String equipmentCode;

  /**
   * 设备名称
   */
  private String equipmentText;

  /**
   * 设备位置
   */
  private String location;

  /**
   * 设备部门
   */
  private String useDepartment;

  /**
   * 备注
   */
  private String memo;

  /**
   * 点检时间
   */
  @DateTimeFormat(iso = ISO.DATE_TIME, pattern = "yyyy-MM-dd HH:mm:ss")
  private Date inspectDateTime;

  /**
   * 点检结果
   */
  private Integer inspectResultFlag;

  /**
   * 附件编号
   */
  private String attachmentCode;

  /** 
  * @return id
  */
  public Long getId() {
    return id;
  }

  /** 
  * @param id 要设置的 id
  */
  public void setId(Long id) {
    this.id = id;
  }

  public String getEquipmentCode() {
    return equipmentCode;
  }

  public void setEquipmentCode(String equipmentCode) {
    this.equipmentCode = equipmentCode;
  }

  public String getEquipmentText() {
    return equipmentText;
  }

  public void setEquipmentText(String equipmentText) {
    this.equipmentText = equipmentText;
  }

  /** 
  * @return location
  */
  public String getLocation() {
    return location;
  }

  /** 
  * @param location 要设置的 location
  */
  public void setLocation(String location) {
    this.location = location;
  }

  /** 
  * @return useDepartment
  */
  public String getUseDepartment() {
    return useDepartment;
  }

  /** 
  * @param useDepartment 要设置的 useDepartment
  */
  public void setUseDepartment(String useDepartment) {
    this.useDepartment = useDepartment;
  }

  /** 
  * @return memo
  */
  public String getMemo() {
    return memo;
  }

  /** 
  * @param memo 要设置的 memo
  */
  public void setMemo(String memo) {
    this.memo = memo;
  }

  /** 
  * @return inspectDateTime
  */
  public Date getInspectDateTime() {
    return inspectDateTime;
  }

  /** 
  * @param inspectDateTime 要设置的 inspectDateTime
  */
  public void setInspectDateTime(Date inspectDateTime) {
    this.inspectDateTime = inspectDateTime;
  }

  /** 
  * @return inspectResultFlag
  */
  public Integer getInspectResultFlag() {
    return inspectResultFlag;
  }

  /** 
  * @param inspectResultFlag 要设置的 inspectResultFlag
  */
  public void setInspectResultFlag(Integer inspectResultFlag) {
    this.inspectResultFlag = inspectResultFlag;
  }

  /** 
  * @return attachmentCode
  */
  public String getAttachmentCode() {
    return attachmentCode;
  }

  /** 
  * @param attachmentCode 要设置的 attachmentCode
  */
  public void setAttachmentCode(String attachmentCode) {
    this.attachmentCode = attachmentCode;
  }

}
